#!/usr/bin/env node
import * as commander from 'commander';
import {translate} from './main';

const program = new commander.Command();

program
  .version('0.0.1')
  .name('tr')
  .usage('<word>')
  .arguments('<word>')
  .action((word) => {
    translate(word);
  });

program.parse(process.argv);